// Copyright     :  Copyright (C) 2018, Hisilicon Technologies Co. Ltd.
// File name     :  ts_fcm_local_c_union_define.h
// Project line  :  Platform And Key Technologies Development
// Department    :  CAD Development Department
// Version       :  1.0
// Date          :  2013/3/10
// Description   :  The description of xxx project
// Others        :  Generated automatically by nManager V4.2
// ******************************************************************************

#ifndef __TS_FCM_LOCAL_C_UNION_DEFINE_H__
#define __TS_FCM_LOCAL_C_UNION_DEFINE_H__

/* Define the union U_ANANKE_DBG_CLR_CFG_REG */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_0          : 31  ; /* [31:1] */
        unsigned int    latch_debug_en : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_ANANKE_DBG_CLR_CFG_REG;

/* Define the union U_ANANKE_DBG_PC_LO */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    core_pc_low : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_ANANKE_DBG_PC_LO;

/* Define the union U_ANANKE_DBG_PC_HI */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    core_pc_high : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_ANANKE_DBG_PC_HI;


//==============================================================================
/* Define the global struct */
typedef struct
{
    volatile U_ANANKE_DBG_CLR_CFG_REG ANANKE_DBG_CLR_CFG_REG ; /* 874 */
    volatile U_ANANKE_DBG_PC_LO       ANANKE_DBG_PC_LO       ; /* C80 */
    volatile U_ANANKE_DBG_PC_HI       ANANKE_DBG_PC_HI       ; /* C84 */

} S_ts_fcm_local_REGS_TYPE;

/* Declare the struct pointor of the module ts_fcm_local */
extern volatile S_ts_fcm_local_REGS_TYPE *gopts_fcm_localAllReg;

/* Declare the functions that set the member value */
int iSetANANKE_DBG_CLR_CFG_REG_latch_debug_en(unsigned int ulatch_debug_en);
int iSetANANKE_DBG_PC_LO_core_pc_low(unsigned int ucore_pc_low);
int iSetANANKE_DBG_PC_HI_core_pc_high(unsigned int ucore_pc_high);

#endif // __TS_FCM_LOCAL_C_UNION_DEFINE_H__
